home *** CD-ROM | disk | FTP | other *** search
Java Source | 2005-02-24 | 31.5 KB | 556 lines |
- // _IconPrefs_EOArchive.java
- // Generated by EnterpriseObjects palette at Freitag, 21. Januar 2005 15:40 Uhr Europe/Berlin
-
- import com.webobjects.eoapplication.*;
- import com.webobjects.eocontrol.*;
- import com.webobjects.eointerface.*;
- import com.webobjects.eointerface.swing.*;
- import com.webobjects.foundation.*;
- import java.awt.*;
- import javax.swing.*;
- import javax.swing.border.*;
- import javax.swing.table.*;
- import javax.swing.text.*;
-
- public class _IconPrefs_EOArchive extends com.webobjects.eoapplication.EOArchive {
- IBHelpConnector _iBHelpConnector0, _iBHelpConnector1;
- com.webobjects.eointerface.swing.EOFrame _eoFrame0;
- com.webobjects.eointerface.swing.EOImageView _nsImageView0, _nsImageView1, _nsImageView2;
- com.webobjects.eointerface.swing.EOMatrix _nsMatrix0, _nsMatrix1;
- com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4;
- com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1, _nsBox2, _nsBox3, _nsColorWell0, _nsView0, _nsView1;
- javax.swing.JButton _nsButton0, _nsButton1, _nsButton2, _nsButton3;
- javax.swing.JCheckBox _nsButton4, _nsButton5, _nsButton6, _nsButton7;
- javax.swing.JComboBox _popup0, _popup1;
- javax.swing.JPanel _nsView2;
- javax.swing.JRadioButton _jRadioButton0, _jRadioButton1, _jRadioButton2, _jRadioButton3, _jRadioButton4;
- javax.swing.JTabbedPane _nsTabView0;
-
- public _IconPrefs_EOArchive(Object owner, NSDisposableRegistry registry) {
- super(owner, registry);
- }
-
- protected void _construct() {
- Object owner = _owner();
- EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
- Object replacement;
-
- super._construct();
-
- _nsImageView2 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
- _nsImageView1 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
- _nsImageView0 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
- _nsBox3 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
- _nsBox2 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
- _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
- _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
- _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1");
- _nsView1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
- _popup1 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton1");
- _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField22");
- _nsView0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
- _nsTabView0 = (javax.swing.JTabbedPane)_registered(new javax.swing.JTabbedPane(), "");
- _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "alternateSeparatorsButton")) != null)) {
- _nsButton7 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton7");
- } else {
- _nsButton7 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Alternating/Flashing ':' separators"), "NSButton4");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "showMenuIconTooltipButton")) != null)) {
- _nsButton6 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton6");
- } else {
- _nsButton6 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Show tooltip for menu icon"), "NSButton111");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "fontTextField")) != null)) {
- _nsTextField1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsTextField1");
- } else {
- _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "fontDefaultButton")) != null)) {
- _nsButton3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton3");
- } else {
- _nsButton3 = (javax.swing.JButton)_registered(new javax.swing.JButton("Default Setting"), "NSButton1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "fontColorWell")) != null)) {
- _nsColorWell0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOView)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsColorWell0");
- } else {
- _nsColorWell0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "2");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "fontButton")) != null)) {
- _nsButton2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton2");
- } else {
- _nsButton2 = (javax.swing.JButton)_registered(new javax.swing.JButton("Set Font\u2026"), "NSButton2");
- }
-
- _iBHelpConnector1 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_initialKeyView.nextFocusableComponent.nextFocusableComponent")) != null)) {
- _nsButton5 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton5");
- } else {
- _nsButton5 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Show Clock"), "NSButton41");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "showClockButton.nextFocusableComponent")) != null)) {
- _popup0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_popup0");
- } else {
- _popup0 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "clockFormatPopUpButton.nextFocusableComponent")) != null)) {
- _nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsTextField0");
- } else {
- _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "clockFormatTextField.nextFocusableComponent")) != null)) {
- _nsButton1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton1");
- } else {
- _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton("Update"), "NSButton");
- }
-
- _jRadioButton4 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(" Right"), "");
- _jRadioButton3 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(" Left"), "");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "updateNowButton.nextFocusableComponent")) != null)) {
- _nsMatrix1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOMatrix)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsMatrix1");
- } else {
- _nsMatrix1 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(1, 2, 4, 2), "NSMatrix11");
- }
-
- _jRadioButton2 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
- _jRadioButton1 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
- _jRadioButton0 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_initialKeyView.nextFocusableComponent")) != null)) {
- _nsMatrix0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOMatrix)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsMatrix0");
- } else {
- _nsMatrix0 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(1, 3, 4, 2), "NSMatrix1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_lastKeyView.nextFocusableComponent")) != null)) {
- _nsButton4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton4");
- } else {
- _nsButton4 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Show Calendar Icon"), "NSButton4");
- }
-
- _iBHelpConnector0 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
- _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton(""), "NSButton31");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_window")) != null)) {
- _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
- _replacedObjects.setObjectForKey(replacement, "_eoFrame0");
- } else {
- _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Window");
- }
-
- _nsView2 = (JPanel)_eoFrame0.getContentPane();
- }
-
- protected void _awaken() {
- super._awaken();
- _popup1.setModel(new javax.swing.DefaultComboBoxModel());
- _popup1.addItem("");
- _popup1.addItem("Cut");
- _popup1.addItem("Copy");
- _popup1.addItem("Paste");
- _popup1.addItem("Delete");
- _popup1.addItem("Select All");
- _nsButton4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeMenuConfiguration", _nsButton4), ""));
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _connect(_eoFrame0, _owner(), "delegate");
- }
-
- _nsButton7.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton7), ""));
-
- if (_replacedObjects.objectForKey("_nsButton7") == null) {
- _connect(_owner(), _nsButton7, "alternateSeparatorsButton");
- }
-
- _nsButton6.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "toggleShowMenuIconTooltip", _nsButton6), ""));
-
- if (_replacedObjects.objectForKey("_nsButton6") == null) {
- _connect(_owner(), _nsButton6, "showMenuIconTooltipButton");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField1") == null) {
- _connect(_owner(), _nsTextField1, "fontTextField");
- }
-
- _nsButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "resetClockFontToDefaults", _nsButton3), ""));
-
- if (_replacedObjects.objectForKey("_nsButton3") == null) {
- _connect(_owner(), _nsButton3, "fontDefaultButton");
- }
-
- _nsColorWell0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePrefsAndUpdateStatusItem", _nsColorWell0), ""));
-
- if (_replacedObjects.objectForKey("_nsColorWell0") == null) {
- _connect(_owner(), _nsColorWell0, "fontColorWell");
- }
-
- _nsButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "selectClockFontAction", _nsButton2), ""));
-
- if (_replacedObjects.objectForKey("_nsButton2") == null) {
- _connect(_owner(), _nsButton2, "fontButton");
- }
-
- if (_replacedObjects.objectForKey("_nsButton4") == null) {
- _connect(_owner(), _nsButton4, "_initialKeyView");
- }
-
- if (_replacedObjects.objectForKey("_nsButton4") == null) {
- _connect(_owner(), _nsButton4, "_firstKeyView");
- }
-
- if (_replacedObjects.objectForKey("_nsButton4") == null) {
- _connect(_owner(), _nsButton4, "showCalendarIconButton");
- }
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _connect(_owner(), _eoFrame0, "_window");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField0") == null) {
- _connect(_owner(), _nsTextField0, "clockFormatTextField");
- }
-
- if (_replacedObjects.objectForKey("_popup0") == null) {
- _connect(_owner(), _popup0, "clockFormatPopUpButton");
- }
-
- if (_replacedObjects.objectForKey("_nsButton5") == null) {
- _connect(_owner(), _nsButton5, "showClockButton");
- }
-
- _nsButton5.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeMenuConfiguration", _nsButton5), ""));
- _popup0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "clockFormatPopUpAction", _popup0), ""));
-
- if (_replacedObjects.objectForKey("_popup0") == null) {
- _popup0.setModel(new javax.swing.DefaultComboBoxModel());
- _popup0.addItem("Item1");
- _popup0.addItem("Item2");
- _popup0.addItem("Item3");
- }
-
- _nsTextField0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "clockFormatWasEdited", _nsTextField0), ""));
-
- if (_replacedObjects.objectForKey("_nsButton1") == null) {
- _connect(_owner(), _nsButton1, "updateNowButton");
- }
-
- _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "clockFormatWasEdited", _nsButton1), ""));
-
- if (_replacedObjects.objectForKey("_nsMatrix1") == null) {
- _connect(_owner(), _nsMatrix1, "_lastKeyView");
- }
-
- _jRadioButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePrefsAndRecreateStatusItem", _jRadioButton3), ""));
- _jRadioButton4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePrefsAndRecreateStatusItem", _jRadioButton4), ""));
-
- if (_replacedObjects.objectForKey("_nsMatrix1") == null) {
- _connect(_owner(), _nsMatrix1, "positionSelectorMatrix");
- }
-
- if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
- _connect(_owner(), _nsMatrix0, "iconSelectorMatrix");
- }
-
- _jRadioButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeIcon", _jRadioButton0), ""));
- _jRadioButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeIcon", _jRadioButton1), ""));
- _jRadioButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeIcon", _jRadioButton2), ""));
- }
-
- protected void _init() {
- super._init();
- .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "copy", ), ""));
- .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "cut", ), ""));
- .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "selectAll", ), ""));
- .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "paste", ), ""));
- .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "delete", ), ""));
- if (!(_nsBox3.getLayout() instanceof EOViewLayout)) { _nsBox3.setLayout(new EOViewLayout()); }
- _nsImageView0.setSize(25, 22);
- _nsImageView0.setLocation(157, 8);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin);
- _nsBox3.add(_nsImageView0);
- _nsImageView1.setSize(25, 22);
- _nsImageView1.setLocation(258, 9);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsImageView1, EOViewLayout.MinYMargin);
- _nsBox3.add(_nsImageView1);
- _nsImageView2.setSize(25, 22);
- _nsImageView2.setLocation(53, 8);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsImageView2, EOViewLayout.MinYMargin);
- _nsBox3.add(_nsImageView2);
- _nsMatrix0.setSize(307, 20);
- _nsMatrix0.setLocation(27, 11);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin);
- _nsBox3.add(_nsMatrix0);
- if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); }
- _nsBox3.setSize(343, 44);
- _nsBox3.setLocation(2, 2);
- ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin);
- _nsBox2.add(_nsBox3);
- _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 11, Font.PLAIN));
- if (!(_nsBox1.getLayout() instanceof EOViewLayout)) { _nsBox1.setLayout(new EOViewLayout()); }
- _nsMatrix1.setSize(204, 24);
- _nsMatrix1.setLocation(27, 9);
- ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsMatrix1, EOViewLayout.MinYMargin);
- _nsBox1.add(_nsMatrix1);
- if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); }
- _nsBox1.setSize(343, 39);
- _nsBox1.setLocation(2, 2);
- ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin);
- _nsBox0.add(_nsBox1);
- _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 11, Font.PLAIN));
- _setFontForComponent(_nsTextField4, "Lucida Grande", 11, Font.PLAIN);
- _nsTextField4.setEditable(false);
- _nsTextField4.setOpaque(false);
- _nsTextField4.setText("Click to change the color.");
- _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField4.setSelectable(false);
- _nsTextField4.setEnabled(true);
- _nsTextField4.setBorder(null);
- if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); }
- _nsTextField4.setSize(130, 28);
- _nsTextField4.setLocation(244, 17);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin);
- _nsView1.add(_nsTextField4);
- _nsButton3.setSize(184, 26);
- _nsButton3.setLocation(184, 88);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.MinYMargin);
- _nsView1.add(_nsButton3);
- _nsColorWell0.setSize(54, 26);
- _nsColorWell0.setLocation(185, 18);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsColorWell0, EOViewLayout.MinYMargin);
- _nsView1.add(_nsColorWell0);
- _nsButton2.setSize(168, 26);
- _nsButton2.setLocation(7, 18);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinYMargin);
- _nsView1.add(_nsButton2);
- _nsTextField1.setSize(356, 14);
- _nsTextField1.setLocation(6, 56);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
- _nsView1.add(_nsTextField1);
- _setFontForComponent(_popup1, "Lucida Grande", 13, Font.PLAIN);
- _setFontForComponent(_nsTextField3, "Lucida Grande", 11, Font.PLAIN);
- _nsTextField3.setEditable(false);
- _nsTextField3.setOpaque(false);
- _nsTextField3.setText("Time Format String (Expert Setting):");
- _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField3.setSelectable(false);
- _nsTextField3.setEnabled(true);
- _nsTextField3.setBorder(null);
- if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
- _popup0.setSize(294, 26);
- _popup0.setLocation(11, 5);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_popup0, EOViewLayout.MinYMargin);
- _nsView0.add(_popup0);
- _nsTextField0.setSize(223, 22);
- _nsTextField0.setLocation(10, 52);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
- _nsView0.add(_nsTextField0);
- _nsButton1.setSize(124, 26);
- _nsButton1.setLocation(242, 51);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton1);
- _nsTextField3.setSize(236, 14);
- _nsTextField3.setLocation(7, 37);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin);
- _nsView0.add(_nsTextField3);
- _popup1.setSize(41, 26);
- _popup1.setLocation(322, 5);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_popup1, EOViewLayout.MinYMargin);
- _nsView0.add(_popup1);
- _nsButton7.setSize(357, 17);
- _nsButton7.setLocation(7, 91);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton7, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton7);
- _nsTabView0.addTab("Time Format", _nsView0);
- _nsTabView0.addTab("Font & Color", _nsView1);
- _setFontForComponent(_nsTextField2, "Lucida Grande", 13, Font.PLAIN);
- _nsTextField2.setEditable(false);
- _nsTextField2.setOpaque(false);
- _nsTextField2.setText("Position");
- _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField2.setSelectable(false);
- _nsTextField2.setEnabled(true);
- _nsTextField2.setBorder(null);
-
- if (_replacedObjects.objectForKey("_nsButton7") == null) {
- _setFontForComponent(_nsButton7, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsButton6") == null) {
- _setFontForComponent(_nsButton6, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsTextField1") == null) {
- _setFontForComponent(_nsTextField1, "Lucida Grande", 10, Font.PLAIN);
- _nsTextField1.setEditable(false);
- _nsTextField1.setOpaque(false);
- _nsTextField1.setText("Font text");
- _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField1.setSelectable(false);
- _nsTextField1.setEnabled(true);
- _nsTextField1.setBorder(null);
- }
-
- if (_replacedObjects.objectForKey("_nsButton3") == null) {
- _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN);
- _nsButton3.setMargin(new Insets(0, 2, 0, 2));
- }
-
- if (_replacedObjects.objectForKey("_nsButton2") == null) {
- _setFontForComponent(_nsButton2, "Lucida Grande", 13, Font.PLAIN);
- _nsButton2.setMargin(new Insets(0, 2, 0, 2));
- }
-
- if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
- _connect(_nsMatrix0, _nsButton5, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_nsButton5") == null) {
- _setFontForComponent(_nsButton5, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsButton5") == null) {
- _connect(_nsButton5, _popup0, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_popup0") == null) {
- _setFontForComponent(_popup0, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_popup0") == null) {
- _connect(_popup0, _nsTextField0, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField0") == null) {
- _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN);
- _nsTextField0.setEditable(true);
- _nsTextField0.setOpaque(true);
- _nsTextField0.setText("");
- _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField0.setSelectable(true);
- _nsTextField0.setEnabled(true);
- }
-
- if (_replacedObjects.objectForKey("_nsTextField0") == null) {
- _connect(_nsTextField0, _nsButton1, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_nsButton1") == null) {
- _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN);
- _nsButton1.setMargin(new Insets(0, 2, 0, 2));
- }
-
- if (_replacedObjects.objectForKey("_nsButton1") == null) {
- _connect(_nsButton1, _nsMatrix1, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_nsMatrix1") == null) {
- _connect(_nsMatrix1, _nsButton4, "nextFocusableComponent");
- }
-
- _setFontForComponent(_jRadioButton4, "Lucida Grande", 13, Font.PLAIN);
- _setFontForComponent(_jRadioButton3, "Lucida Grande", 13, Font.PLAIN);
-
- if (_replacedObjects.objectForKey("_nsMatrix1") == null) {
- _jRadioButton3.setSize(100, 24);
- _jRadioButton3.setLocation(0, 0);
- _nsMatrix1.add(_jRadioButton3);
- _jRadioButton4.setSize(100, 24);
- _jRadioButton4.setLocation(104, 0);
- _nsMatrix1.add(_jRadioButton4);
- _setFontForComponent(_nsMatrix1, "Lucida Grande", 13, Font.PLAIN);
- }
-
- _setFontForComponent(_jRadioButton2, "Lucida Grande", 13, Font.PLAIN);
- _setFontForComponent(_jRadioButton1, "Lucida Grande", 13, Font.PLAIN);
- _setFontForComponent(_jRadioButton0, "Lucida Grande", 13, Font.PLAIN);
-
- if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
- _jRadioButton0.setSize(99, 20);
- _jRadioButton0.setLocation(0, 0);
- _nsMatrix0.add(_jRadioButton0);
- _jRadioButton1.setSize(99, 20);
- _jRadioButton1.setLocation(103, 0);
- _nsMatrix0.add(_jRadioButton1);
- _jRadioButton2.setSize(99, 20);
- _jRadioButton2.setLocation(206, 0);
- _nsMatrix0.add(_jRadioButton2);
- _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsButton4") == null) {
- _connect(_nsButton4, _nsMatrix0, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_nsButton4") == null) {
- _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN);
- }
-
- _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN + Font.BOLD);
- _nsButton0.setMargin(new Insets(0, 2, 0, 2));
- if (!(_nsView2.getLayout() instanceof EOViewLayout)) { _nsView2.setLayout(new EOViewLayout()); }
- _nsButton0.setSize(21, 24);
- _nsButton0.setLocation(390, 329);
- ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin);
- _nsView2.add(_nsButton0);
- _nsButton4.setSize(373, 17);
- _nsButton4.setLocation(11, 186);
- ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.MinYMargin);
- _nsView2.add(_nsButton4);
- _nsButton5.setSize(402, 17);
- _nsButton5.setLocation(11, 13);
- ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton5, EOViewLayout.MinYMargin);
- _nsView2.add(_nsButton5);
- _nsTextField2.setSize(145, 17);
- _nsTextField2.setLocation(30, 259);
- ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin);
- _nsView2.add(_nsTextField2);
- _nsTabView0.setSize(383, 148);
- _nsTabView0.setLocation(30, 30);
- ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTabView0, EOViewLayout.MinYMargin);
- _nsView2.add(_nsTabView0);
- _nsBox0.setSize(347, 43);
- _nsBox0.setLocation(29, 277);
- ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.MinYMargin);
- _nsView2.add(_nsBox0);
- _nsBox2.setSize(347, 48);
- _nsBox2.setLocation(29, 207);
- ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin);
- _nsView2.add(_nsBox2);
- _nsButton6.setSize(373, 17);
- _nsButton6.setLocation(11, 332);
- ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton6, EOViewLayout.MinYMargin);
- _nsView2.add(_nsButton6);
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _nsView2.setSize(424, 364);
- _eoFrame0.setTitle("Icon");
- _eoFrame0.setLocation(42, 354);
- _eoFrame0.setSize(424, 364);
- }
- }
- }
-